package com.example.xiaosen.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: zhouxj@ferrotec.com.cn
 * @version: v1.0
 * @Date: 2025/5/14 14:17
 * @Description:
 */
@Component
@ConfigurationProperties(prefix = "app.cos")
@Data
public class TencentCosProperties {
    private String accessKey;

    private String secretKey;

    /**
     * 区域
     */
    private String region;

    /**
     * 桶名
     */
    private String bucket;
    /**
     * 文件路径
     */
    private String filePath;
    /**
     * 文件域名
     */
    private String baseUrl;
}
